% !TeX root = ../main.tex

\chapter{图表}


\begin{figure}[htbp]
  \centering
  \includegraphics[width = 5cm]{example-image-a}
  \caption{测试}
  \label{figure:test1}
\end{figure}

\begin{table}[htbp]
  \centering
  \caption{测试}
  \label{table:test1}
  \begin{tabular}{|c|c|}
    11 & 22 \\
    33 & 44 
  \end{tabular}
\end{table}


图~\ref{figure:test1} 和表~\ref{table:test1} 的引用